package com.hnuit.po;

//实体类——交易表
public class Transactions {
    private Integer id; //主键
    private Integer account_id; //账户ID
    private String transaction_type; //交易类型
    private Integer amount; //交易金额
    private String transaction_date ; //交易日期

    @Override
    public String toString() {
        return "Transactions{" +
                "id=" + id +
                ", account_id=" + account_id +
                ", transaction_type='" + transaction_type + '\'' +
                ", amount=" + amount +
                ", transaction_date='" + transaction_date + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccount_id() {
        return account_id;
    }

    public void setAccount_id(Integer account_id) {
        this.account_id = account_id;
    }

    public String getTransaction_type() {
        return transaction_type;
    }

    public void setTransaction_type(String transaction_type) {
        this.transaction_type = transaction_type;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getTransaction_date() {
        return transaction_date;
    }

    public void setTransaction_date(String transaction_date) {
        this.transaction_date = transaction_date;
    }
}
